#ifndef SHADERSHADOWVOLUME_H
#define SHADERSHADOWVOLUME_H

#include "d3dUtil.h"
#include "Shader.h"

namespace mgfx
{
	class ShaderShadowVolume : public Shader
	{
	public:
		ShaderShadowVolume();
		virtual bool init();

		virtual void setParamsGlobal();
		virtual void setParamsModel(ModelDrawCall * drawCall);

	protected:
		ID3D10EffectMatrixVariable* mVar_gWorld;
		ID3D10EffectMatrixVariable* mVar_gViewProj;
		ID3D10EffectVectorVariable* mVar_gLightPos;
		ID3D10EffectScalarVariable* mVar_gExtrudeBias;
		ID3D10EffectScalarVariable* mVar_gExtrudeAmt;

	};
}

#endif